package com.sheep.mbg.mapper;

import com.sheep.mbg.model.RbacAdminPermissionRelation;
import com.sheep.mbg.model.RbacAdminPermissionRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RbacAdminPermissionRelationMapper {
    long countByExample(RbacAdminPermissionRelationExample example);

    int deleteByExample(RbacAdminPermissionRelationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RbacAdminPermissionRelation record);

    int insertSelective(RbacAdminPermissionRelation record);

    List<RbacAdminPermissionRelation> selectByExample(RbacAdminPermissionRelationExample example);

    RbacAdminPermissionRelation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RbacAdminPermissionRelation record, @Param("example") RbacAdminPermissionRelationExample example);

    int updateByExample(@Param("record") RbacAdminPermissionRelation record, @Param("example") RbacAdminPermissionRelationExample example);

    int updateByPrimaryKeySelective(RbacAdminPermissionRelation record);

    int updateByPrimaryKey(RbacAdminPermissionRelation record);
}